package com.flower.core_service.feignClient.fallback;

import com.flower.core_service.feignClient.UploadFeignClient;
import com.common.baseException.CustomizeException;
import org.springframework.stereotype.Component;

/**
 * @ClassName UploadFeignClientFallback
 * @Description TODO
 * @Author 吃麻椒的花酱
 * @Date 2022/3/16 12:42
 * @Version 1.0
 */
@Component
public class UploadFeignClientFallback implements UploadFeignClient {
    @Override
    public void deleteImage(String id){
        throw new CustomizeException("图片删除失败");
    }

    @Override
    public void test() {

        throw new CustomizeException("测试失败");
    }
}
